package com.powernode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.powernode.entity.Orders;

/**
 * 订单服务接口
 * 定义了订单相关的业务方法，包括下单、查询订单等
 * 继承IService接口，提供CRUD操作和自定义SQL方法
 */
public interface OrderService extends IService<Orders> {
    int doOrder(Orders orders);

    Orders queryOrderByUidAndGoodsId(Integer uid, Integer goodsId);
}
